package com.mts.test;

import org.openqa.selenium.WebElement;
import org.testng.annotations.Test;

public class TarifsSelections extends TestBase {

	@Test
	public void testTarifsSelections() throws Exception {
		goToMainPage();
		selectCurrentRegionOfMoscow();
		choiceOfTariff();
	}

	private void choiceOfTariff() {
		menu2Level.tariffsAndSales.click();

		content.tariffSelection.click();

		elementsOfTariffs.chooseCostsInRubles.click();
		type(elementsOfTariffs.chooseCostsInRubles, "10");

		type(elementsOfTariffs.selectTheNumberOfCallsPerDay, "10");
		

		elementsOfTariffs.selectCallDuration.click();
		elementsOfTariffs.selectCallDuration.clear();
		elementsOfTariffs.selectCallDuration.sendKeys("10");

		elementsOfTariffs.selectRadioButtonToMTSPhones.click();
		elementsOfTariffs.chooseTariffBtn.click();

	}



}
